from collections import Counter

